package com.airticketbooking.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;



@Data
public class OrderVO implements Serializable {
	private static final long serialVersionUID = -73667947968854392L;

	//订单信息
	private Integer orderId;


	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private LocalDateTime orderDateTime;

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private LocalDateTime upadateDateTime;


	private Integer status;

	private BigDecimal totalPrice;

	private BigDecimal discountAmount;

	private BigDecimal actualAmountDue;


	private int paymentMethod;


	//下单人信息
	private String userName;

	private String email;

	private String phoneNumber;

	List<TicketVO> ticketVOS;

}

